package com.cn.kabalifeuser.ui.my.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/11.
 * function:
 */
public class CouponTypeListBean {


    /**
     * code : 200
     * result : [{"id":1,"name":"新人券","status":1,"sort":1,"created_at":"2020-03-19 11:14:59","updated_at":"2020-09-10 15:02:24"},{"id":2,"name":"服务券","status":1,"sort":2,"created_at":"2020-03-19 11:15:11","updated_at":"2020-09-10 15:02:25"},{"id":3,"name":"城市券","status":1,"sort":3,"created_at":"2020-09-10 15:02:38","updated_at":null}]
     * msg : ok
     */

    private int code;
    private String msg;
    private List<ResultBean> result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1
         * name : 新人券
         * status : 1
         * sort : 1
         * created_at : 2020-03-19 11:14:59
         * updated_at : 2020-09-10 15:02:24
         */

        private int id;
        private String name;
        private int status;
        private int sort;
        private String created_at;
        private String updated_at;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }
    }
}
